Conversation
Check GitHub timeline API for linked PRs before reopening closed Jira tickets. This allows tickets to stay closed during PR review, preventing review-waiting items from spilling across sprints. NO JIRA Signed-off-by: Daniel Lawton <dlawton@redhat.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dlaw4608 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi Daniel, perhaps what should had been brought into the sprint (for feature work) wasn't the card that was mirrored from github, but instead a child card that focused on creating a PR? |
|
Hey Martin, using child items would be a more straightforward solution. Thanks for that 👍 |
Previously ghira would reopen any manually closed Jira ticket if the GitHub
issue was still open. This broke the workflow where development
tickets are closed once a PR is created to avoid "waiting for review" items
cluttering sprints.
Now queries GitHub's timeline API before reopening. If the issue
has a linked PR, leaves the Jira ticket closed.
Verified locally :
2026/05/27 10:17:42 Issue 669 has a linked PR, skipping reopen of Jira ticket OSASINFRA-4133